const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  name: state => state.user.userInfo.username,
  // staffPhoto: state => state.user.userInfo.staffPhoto// 个人头像挂载全局
  staffPhoto: state => 'www.baidu.cob'// 个人头像挂载全局
}
export default getters
